package head.first.model.factory.demo1;

/**
 * Created by yiyongyao on 2018/2/28.
 * 芝加哥批萨  添加奶酪  原料由加盟店自己提供
 */
public class ChicagoStyleCheesePizza extends Pizza {

    public ChicagoStyleCheesePizza() {
        name="芝加哥批萨";
        dough="薄脆面团";
        sauce="甜酱汁";
        toppings.add("添加奶酪!");
    }

    @Override
    void cut() {
        System.out.println("分割批萨4等分!");
    }
}
